Xbasic

WIN_MEMORY_INFO Function

Syntax

as P = win_memory_info([C computer ])

Arguments

P

A pointer variable containing information about the memory configuration of a computer.

computer

Optional. Default = "." (local computer). The name of the computer to analyze.r

Description

The WIN_MEMORY_INFO() function returns information about a computer's memory configuration.

Example

?win_memory_info() 
= AvailableVirtualMemory = 2152400 
Caption = "Logical Memory Configuration" 
Description = "Logical Memory Configuration" 
Name = "LogicalMemoryConfiguration" 
SettingID = "LogicalMemoryConfiguration" 
TotalPageFileSpace = 2485216 
TotalPhysicalMemory = 1031660 
TotalVirtualMemory = 3516876 

?win_memory_info("doc02") 
= AvailableVirtualMemory = 1219152 
Caption = "Logical Memory Configuration" 
Description = "Logical Memory Configuration" 
Name = "LogicalMemoryConfiguration" 
SettingID = "LogicalMemoryConfiguration" 
TotalPageFileSpace = 1233112 
TotalPhysicalMemory = 753136 
TotalVirtualMemory = 1986248

See Also